<?php namespace simpleFlow\view\html;

/**
 * Label html component
 * @package simpleFlow\view
 * @subpackage html
 * @author Guilherme Fontenele
 */
class Label extends HtmlField
{
	/**
	 * Constructor
	 * @param string $strFor Name of the field thats receive the label
	 * @param string $strLabel Content of label
	 */
	public function __construct($strFor = null,$strLabel)
	{
		parent::__construct('label',null,'');
		$this->arrAttributes['for'] = $strFor;
		$this->strContent = $strLabel;
	}
}

?>